package com.cherrypt.api.model.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author intent
 * @date 2019/8/2 16:13
 * @about <link href='http://zzyitj.xyz/'/>
 */
@Getter
@Setter
@ToString
public class PostDto {
    private Integer id;
    private Integer uid;
    private String username;
    private Integer categoryId;
    private String categoryName;
    private List<SeriesDto> seriesList;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private DoubanDto douban;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private ImdbDto imdb;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer teamId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String teamName;
    private Integer pin;
    private String title;
    private String subtitle;
    private Integer hot;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String content;
    private Long created;
    private Long modify;
}
